class TimeRule::Week < TimeRule
  def validate_value?(params)
    week = params['date'].to_date.days_to_week_start
    value.include? week
  end
end
